/* Created by FINAL PYTON 88 */

package pl.edu.agh.admin.gui;

import java.awt.BorderLayout;

import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JSplitPane;



public class TopPanel extends JPanel
{
	private static final long serialVersionUID = 88;

	
	public TopPanel()
	{
		setLayout(new BorderLayout());
		
		JSplitPane splitPane  = new JSplitPane(JSplitPane.VERTICAL_SPLIT);

		TimeAxisPanel timeAxisPanel = new TimeAxisPanel();
		UserTaskPanel userTaskPanel = new UserTaskPanel(timeAxisPanel);
		
		splitPane.setLeftComponent(userTaskPanel);
		splitPane.setRightComponent(timeAxisPanel);
		
		add(splitPane);
	}
}
